// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.text.Editable;
import android.view.View;
import android.widget.*;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            LoginActivity

class cls_h
    implements android.view.View.OnFocusChangeListener
{

	cls_h(cls_LoginActivity loginactivity)
    {
        a = loginactivity;
        super();
    }

    public void onFocusChange(View view, boolean flag)
    {
        if(flag) goto _L2; else goto _L1
_L1:
        cls_LoginActivity.e(a).setVisibility(8);
_L4:
        return;
_L2:
        if(view instanceof cls_TextView)
        {
            if(((TextView)view).getEditableText().length() > 0)
                cls_LoginActivity.e(a).setVisibility(0);
            else
                cls_LoginActivity.e(a).setVisibility(8);
            if(cls_LoginActivity.a(a, cls_LoginActivity.b(a).getEditableText().toString()) && cls_LoginActivity.b(a, cls_LoginActivity.c(a).getEditableText().toString()))
            {
                cls_LoginActivity.d(a).setClickable(true);
                cls_LoginActivity.d(a).setEnabled(true);
            } else
            {
                cls_LoginActivity.d(a).setClickable(false);
                cls_LoginActivity.d(a).setEnabled(false);
            }
            if(!LoginActivity.a(a, cls_LoginActivity.b(a).getEditableText().toString()))
                Toast.makeText(cls_LoginActivity.f(a), 0x7f0a002f, 0).show();
        }
        if(true) goto _L4; else goto _L3
_L3:
    }

    final cls_LoginActivity a;
}
